home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / BAN3.M3 < prev    next >
Encoding:
Text File  |  1996-04-01  |  3.7 KB  |  145 lines

  1. name Bandit 3
  2.  
  3. / 00
  4. & 00
  5. N >4
  6. X ->3.>4
  7. A 00 /
  8. Y ->3.>4
  9. B 00 /
  10. Z ->3.>4
  11. I ->3.>4
  12. J ->3.>4
  13. Q ->3.>4 Z
  14. E >3.>1 F
  15. F >3.>1
  16. T >22
  17. M >2
  18. G >2
  19.  
  20. ModalGs 0 1 73 74 76 80 81 82 83 84 85  # List of g codes that are modal    
  21. ModalLetters X Y Z F                  # List of letters that are modal    
  22.  
  23. Sequence#s N 0 1 1                    # Char, freq, incr & start          
  24.  
  25. HCode X                               # X or X U  'Horizontal char.       
  26. VCode Y                               # Y or Y V  'Vertical char.         
  27. Dcode Z                               # Depth char.                       
  28. FeedCode F                            # Feed rate char.                   
  29.  
  30. Comment ( )                           # Begin End comment char.           
  31.  
  32. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  33. Coolant 8 9 7                         # On, Off & Mist m codes            
  34. DComp 41 42 40                        # Left, Right & Cancel m codes      
  35. LComp                                 # On & Off codes                    
  36.  
  37. Spaces? Y                             # Y or N  'Spaces between words     
  38.  
  39. CtrIncremental? N                     # Y or N  'Inc or abs I & J         
  40. Incremental? N                        # Y or N  'Inc or abs output        
  41. ByQuadrants? Y                        # Y or N  'Break arcs at quadrants  
  42. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  43. Work G                                # Work offset register              
  44. CtrCode I J                           # I J or R or I J K L               
  45. Helical? N
  46.  
  47. Feed                                  # Linear move                       
  48. Rapid F100                          # Rapid positioning word            
  49. Cw                                    # Circular move clockwise           
  50. Ccw                                   # Circular move counter clockwise   
  51.  
  52. RevSigns Q                            # List of letters to reverse signs  
  53.  
  54. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  55.  
  56. Peck                                  # Pecking canned/manual cycle       
  57. I[H] J[V] G83 Z[D]
  58. end cancel
  59.  
  60. Tap                                   # Tapping canned/manual cycle       
  61. /0 N900
  62. I[H] J[V]
  63. end
  64.  
  65. LTap                                  # Left handed tapping cycle         
  66. G74 Z[D]
  67. I[H]J[V]
  68. end cancel
  69. Drill                                 # Drilling canned/manual cycle      
  70. Z[D] G81
  71. I[H] J[V]
  72. end
  73.  
  74. Ream                                  # Reaming canned/manual cycle       
  75. Z[D]
  76. Z[VClear]
  77. /0 B0 Z[RPlane]
  78. I[H] J[V]
  79. /0 Z[VClear]
  80. end
  81.  
  82. Bore                                  # Boring canned/manual cycle        
  83. G86 Z[D]
  84. I[H] J[V]
  85. end cancel
  86.  
  87. Back                                  # Back boring canned/manual cycle   
  88. G87 Z[D]
  89. I[H] J[V]
  90. end cancel
  91.  
  92. Cancel                                # Cancel a canned/manual cycle      
  93. G80
  94. end
  95.  
  96. StartCode                             # Start of the program              
  97. &0
  98. G90
  99. X0 Y0 G92
  100. End
  101.  
  102. 1stToolChange                         # First tool change                 
  103. M[Direct]
  104. I[H] J[V]
  105. T[Tool][Lcomp][Dcomp]
  106. End
  107.  
  108. ToolChange                            # Secondary tool changes            
  109. /0 Z[VClear]
  110. M5
  111. T0
  112. I[ToolH] J[ToolV]
  113. M20
  114. M21
  115. M23
  116. I0 J0
  117. X0 Y0 G92
  118. M[Direct]
  119. I[H] J[V]
  120. T[Tool]
  121. End
  122.  
  123. Infeed                                # Enable cutter comp                
  124. F[Plunge]
  125. Z[D]
  126. F[Frate]
  127. G[Side]
  128. X[H] Y[V]
  129. end
  130.  
  131. Outfeed                               # Disable cutter comp               
  132. G40 X[H] Y[V]
  133. end
  134.  
  135. EndCode                               # End of the program                
  136. /0 Z0
  137. M5
  138. T0
  139. I[ToolH] J[ToolV]
  140. M20
  141. M27
  142. M23
  143. I0 J0
  144. M2
  145. End